<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<% String path = request.getContextPath();%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 数据表格</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="<%=path%>/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="<%=path%>/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="<%=path%>/admin/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

    <%--样式框架--%>
    <link rel="stylesheet" type="text/css" href="https://www.huangwx.cn/css/sweetalert.css">
    <script type="text/javascript" src="https://www.huangwx.cn/js/sweetalert-dev.js"></script>

    <link href="<%=path%>/admin/css/animate.css" rel="stylesheet">
    <link href="<%=path%>/admin/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="<%=path%>/admin/css/sweetalert2.css" rel="stylesheet">
<%--    <link href="<%=path%>/admin/css/buttons.css" rel="stylesheet">--%>

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h3>
                        可根据以下条件搜索过滤<small>本商城内所有的用户数据,可按照以下指示进行操作以及Excel数据导入导出</small>
                    </h3>
                    <div class="clearfix"></div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-md-2 form-group">
                            <input value="${valueId}" type="text" placeholder="用户编号" class="form-control" name="id">
                        </div>
                        <div class="col-md-2 form-group">
                            <input value="${valueName}" type="text" placeholder="用户名字" class="form-control" name="name">
                        </div>
                        <div class="col-md-8 form-group">
                            <button id="btn-success" type="submit" class="btn btn-success" <%--onclick="ajax()"--%>>搜索</button>
                            <button type="button" class="btn btn-primary" data-toggle="modal"
                                    data-target="#addmyModal"><i
                                    class="fa fa-plus"></i>新增用户
                            </button>
                            <button type="button" class="btn btn-info" id="generate-excel"><i class="fa fa-cloud-upload"></i>批量导入用户信息
                            </button>
                            <button id="excel" type="submit" class="btn btn-primary" ><i class="fa fa-cloud-download"></i>导出用户信息到Excel表格</button>
                            <!-- 点击该按钮，提供月度、季度、年度用户行为的Excel报告 -->
                            <button type="button" class="btn btn-primary"><i class="fa fa-cloud-download"></i>获取用户数据报告</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <table id="userTable" class="table table-hover">
                        <thead>
                        <tr>
                            <th>编号</th>
                            <th>用户名</th>
                            <th>手机号码</th>
                            <th>账户余额</th>
                            <th>剩余积分</th>
                            <th>用户等级</th>
                            <th>最近登录</th>
                            <th>邮箱地址</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>

                        <c:forEach items="${userList}" var="users">
                            <tr class="gradeX">
                                <td class="bh">${users.userId}</td>
                                <td>${users.loginName}</td>
                                <td>${users.userPhone} </td>
                                <td>
                                    <span style="color: red;">${users.userMoney}元</span>
                                </td>
                                <td>
                                    <span style="color: red;">${users.userScore}分</span>
                                </td>
                                <td class="center">
                                    <c:if test="${users.userLevel == 1}">
                                        普通会员
                                    </c:if>
                                    <c:if test="${users.userLevel == 2}">
                                        黄金会员
                                    </c:if>
                                    <c:if test="${users.userLevel == 3}">
                                        白金会员
                                    </c:if>
                                    <c:if test="${users.userLevel == 4}">
                                        钻石会员
                                    </c:if>
                                    <c:if test="${users.userLevel == 5}">
                                        顶级VIP
                                    </c:if>
                                </td>
                                <td class="center">${users.lastTime}</td>
                                <td>${user.userEmail}</td>
                                <td class="center">
                                    <c:if test="${users.userStatus == 1}">
                                        <span style="color: green;">正常</span>
                                    </c:if>
                                    <c:if test="${users.userStatus == 2}">
                                        <span style="color: dodgerblue;" class="userStatus">已冻结</span>
                                    </c:if>
                                    <c:if test="${users.userStatus == 3}">
                                        <span style="color: red;">违规账号</span>
                                    </c:if>
                                </td>
                                <td style="white-space: nowrap;margin-right: 0px">
                                    <a class="btn btn-sm btn-primary" data-toggle="modal" data-target="#updatemyModal"  onclick="return  edit(${users.userId})"><i class="fa fa-edit"></i>修改</a>
                                    <!--页面显示有限、单用户操作放在用户详情页-->
                                    <a class="btn btn-sm btn-info "  data-toggle="modal" data-target="#myModal"
                                       onclick="return examine(${users.userId})"><i class="fa fa-eye"></i>查看用户资料</a>
                                    <!-- 弹窗提供冻结时间选择      data-target="#myModal"  引用网页 -->

                                    <c:if test="${users.userStatus == 1}">
                                        <a class="btn btn-sm btn-warning"
                                            <%--href="user?type=freeze&userId="${users.userId}--%> <%--onclick=""--%>
                                           data-toggle="modal" onclick="freeze(${users.userId},this)" name="freeze"><%--<i class="fa fa-lock"></i>--%>冻结该账户</a>
                                    </c:if>
                                    <c:if test="${users.userStatus == 2}">
                                        <a class="btn btn-sm btn-warning"
                                            <%--href="user?type=freeze&userId="${users.userId}--%> <%--onclick=""--%>
                                           data-toggle="modal" onclick="freeze(${users.userId},this)" name="freeze"><%--<i
                                                class="fa fa-lock"></i>--%>解冻该账户</a>
                                    </c:if>

                                    <a class="btn btn-sm btn-primary " <%--onclick="thaw(this)"--%>
                                       data-toggle="modal"<%--data-target="#myModal"--%>><i
                                            class="fa fa-history"></i>痕迹</a>
                                        <%--<a class="btn btn-sm btn-danger" href="javascript:del(${users.userId})" ><i class="fa fa-remove"></i>删除</a>--%>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
</div>
<!-- 弹框代码新增-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <%--修改按钮弹框--%>
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabel">颜色选择</h4>
            </div>
            <div class="modal-body">
                <div class="input-group colorpicker-component demo demo-auto colorpicker-element">
                    <div >
                        <form action="<%=path%>/user?type=updateUser" method="post" class="form-horizontal m-t"
                              id="commentForm"
                              novalidate="novalidate">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">登录名：</label>
                                <div class="col-sm-8">
                                    <input disabled id="loginNames" name="loginName" minlength="2" type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">手机号码</label>
                                <div class="col-sm-8">
                                    <input disabled id="userPhones" type="text" class="form-control" name="userPhone" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">用户等级</label>
                                <div class="col-sm-8">
                                    <input disabled id="userLevels" type="text" class="form-control" name="userLevel">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">用户名称：</label>
                                <div class="col-sm-8">
                                    <input disabled id="userName" name="userName" minlength="2" type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">QQ：</label>
                                <div class="col-sm-8">
                                    <input disabled id="userQQ" name="userQQ" minlength="2" type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">邮箱：</label>
                                <div class="col-sm-8">
                                    <input disabled id="userEmail" name="userEmail" minlength="2" type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">积分：</label>
                                <div class="col-sm-8">
                                    <input disabled id="userScore" name="userScore" minlength="2"
                                           type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label" style="display: none">用户密码</label>
                                <div class="col-sm-8">
                                    <input id="loginPwds" type="password" class="form-control" name="loginPwd" style="display: none">
                                </div>
                            </div>--%>
                            <%--<div class="form-group" hidden>
                                <label class="col-sm-4 control-label" style="display: none">账户余额：</label>
                                <div class="col-sm-8">
                                    <input id="userMoneys" type="password" class="form-control" name="userMoney" style="display: none">
                                </div>
                            </div>--%>
                            <%--<div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>--%>
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="updatemyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabels">颜色选择</h4>
            </div>
            <div class="modal-body">
                <div class="input-group colorpicker-component demo demo-auto colorpicker-element">
                    <div >
                        <form action="<%=path%>/user?type=updateUser" method="post" class="form-horizontal m-t" id="commentForms" novalidate="novalidate">
                            <input id="userId" name="userId" type="text"  hidden="hidden">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">登录名：</label>
                                <div class="col-sm-8">
                                    <input id="loginName" name="loginName" minlength="2" type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">手机号码</label>
                                <div class="col-sm-8">
                                    <input id="userPhone" type="text" class="form-control" name="userPhone" required="" aria-required="true">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">用户等级</label>
                                <div class="col-sm-8">
                                    <input id="userLevel" type="text" class="form-control" name="userLevel">
                                </div>
                            </div>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label">用户密码</label>
                                <div class="col-sm-8">
                                    <input id="loginPwd" type="text" class="form-control" name="loginPwd">
                                </div>
                            </div>--%>
                           <%-- <div class="form-group">
                                <label class="col-sm-3 control-label">账户余额：</label>
                                <div class="col-sm-8">
                                    <input id="userMoney" type="text" class="form-control" name="userMoney">
                                </div>
                            </div>--%>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <button class="btn btn-primary" type="submit">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>



<%--新增用户信息按钮--%>
<div class="modal fade" id="addmyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
     style="display: none;">
    <div class="modal-dialog">
        <%--修改按钮弹框--%>
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="addmyModalLabel">颜色选择</h4>
            </div>
            <div class="modal-body">
                <div class="input-group colorpicker-component demo demo-auto colorpicker-element">
                    <div >
                        <form action="<%=path%>/user?type=addUser" method="post" class="form-horizontal m-t"
                              id="addcommentForm"
                              novalidate="novalidate">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">登录名：</label>
                                <div class="col-sm-8">
                                    <input id="addloginNames" name="loginName" minlength="2" type="text"
                                           class="form-control" required="" aria-required="true">
                                    <span style="color: red;display: none" id="addloginName">该区域不能为空</span>
                                </div>
                            </div>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label">手机号码</label>
                                <div class="col-sm-8">
                                    <input id="adduserPhones" type="text" class="form-control"
                                           name="userPhone" required="" aria-required="true">
                                </div>
                            </div>--%>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">安全码</label>
                                <div class="col-sm-8">
                                    <input id="adduserLevels" type="text" class="form-control"
                                           name="loginSecret">
                                    <span style="color: red;display: none" id="adduserLevel">该区域不能为空</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">登入密码：</label>
                                <div class="col-sm-8">
                                    <input id="adduserNames" name="loginPwd" minlength="2" type="text"
                                           class="form-control" required="" aria-required="true">
                                </div>
                                <span style="color: red;display: none" id="adduserName">该区域不能为空</span>
                            </div>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label">QQ：</label>
                                <div class="col-sm-8">
                                    <input id="adduserQQ" name="userQQ" minlength="2" type="text"
                                           class="form-control" required="" aria-required="true">
                                </div>
                            </div>--%>
                            <div class="form-group">
                                <label class="col-sm-4 control-label">用户等级：</label>
                                <div class="col-sm-8">
                                    <input id="adduserEmails" name="userLevel" minlength="2" type="text"
                                           class="form-control" required="" aria-required="true">
                                </div>
                                <span style="color: red;display: none" id="adduserEmail">该区域不能为空</span>
                            </div>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label">积分：</label>
                                <div class="col-sm-8">
                                    <input id="adduserScore" name="userScore" minlength="2"
                                           type="text" class="form-control" required="" aria-required="true">
                                </div>
                            </div>--%>
                            <%--<div class="form-group">
                                <label class="col-sm-4 control-label" style="display: none">用户密码</label>
                                <div class="col-sm-8">
                                    <input id="loginPwds" type="password" class="form-control" name="loginPwd" style="display: none">
                                </div>
                            </div>--%>
                            <div class="form-group" hidden>
                                <label class="col-sm-4 control-label" style="display: none">账户余额：</label>
                                <div class="col-sm-8">
                                    <input id="adduserMoneys" type="text" class="form-control" name="userMoney"
                                           style="display: none">
                                </div>
                                <span style="color: red;display: none" id="adduserMoney">该区域不能为空</span>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <button class="btn btn-primary" type="submit" id="submit">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="<%=path%>/admin/js/jquery.min.js?v=2.1.4"></script>
<script src="<%=path%>/admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="<%=path%>/admin/js/plugins/jeditable/jquery.jeditable.js"></script>
<script src="<%=path%>/admin/js/sweetalert2.js"></script>
<!-- Data Tables -->
<script src="<%=path%>/admin/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="<%=path%>/admin/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<!-- 自定义js -->
<script src="<%=path%>/admin/js/content.js?v=1.0.0"></script>

<%--新增非空判断--%>
<script>
    $("#addcommentForm").submit(
        function () {
            //登入名为空提示setTimeout()
            if ($("#addloginNames").val()==""){
                $("#addloginName").show();
                $("#addloginNames").focus();
                setTimeout(function(){
                   $("#addloginName").hide()
                },3000);
                return false;
            }
            //安全码为空提示
            if ($("#adduserLevels").val()==""){
                $("#adduserLevel").show();
                $("#adduserLevels").focus();
                setTimeout(function(){
                    $("#adduserLevel").hide()
                },3000);
                return false;
            }
            //登入密码为空提示
            if ($("#adduserNames").val()==""){
                $("#adduserName").show();
                $("#adduserNames").focus();
                setTimeout(function(){
                    $("#adduserName").hide()
                },3000);
                return false;
            }
            //用户等级为空提示
            if ($("#adduserEmails").val()==""){
                $("#adduserEmail").show();
                $("#adduserEmails").focus();
                setTimeout(function(){
                    $("#adduserEmail").hide()
                },3000);
                return false;
            }
            //账户余额为空提示
            if ($("#adduserMoneys").val()==""){
                $("#adduserMoney").show();
                $("#adduserMoneys").focus();
                setTimeout(function(){
                    $("#adduserMoney").hide()
                },3000);
                return false;
            }
            return true;
        }
    );
</script>

<script type="text/javascript">
    function del(userId){
        swal({
            title: '你确定要删除吗',
            type: 'warning',   //感叹号图标
            showCancelButton: true,   //显示取消按钮
            confirmButtonColor: '#3085d6', //俩个按钮的颜色
            cancelButtonColor: '#d33',
            confirmButtonText: '确定', //俩个按钮的文本
            cancelButtonText: '取消',
            confirmButtonClass: 'btn btn-success',  //俩个按钮的类样式
            cancelButtonClass: 'btn btn-danger',
        });
    }
    //分页
    $(function () {
        $("#userTable").dataTable({
            paging: true,//分页
            ordering: true,//是否启用排序
            searching: false,//搜索
            lengthChange:false,//每页显示大小调整
            pageLength:10, //显示条数
            language: {
                paginate: {//分页的样式内容。
                    previous: "上一页",
                    next: "下一页",
                    first: "第一页",
                    last: "最后"
                },

                zeroRecords: "没有内容",//table tbody内容为空时，tbody的内容。
                //下面三者构成了总体的左下角的内容。
                info: "总共_PAGES_ 页，显示第_START_ 到第 _END_ ，筛选之后得到 _TOTAL_ 条，初始_MAX_ 条 ",//左下角的信息显示，大写的词为关键字。
                infoEmpty: "0条记录",//筛选为空时左下角的显示。
                infoFiltered: ""//筛选之后的左下角筛选提示，
            },
            paging: true,
            pagingType: "full_numbers",//分页样式的类型

        });
    });

    //点击修改给文本框赋值
    function  edit(id) {
        $.ajax({
            url:"user?type=queryOne&userId="+id,
            type:"get",
            dataType:"json",
            success:function (data) {
                //alert("1");
                $("#userId").val(data.userId);
                $("#loginName").val(data.loginName);
                //$("#loginPwd").val(data.loginPwd);
                $("#userPhone").val(data.userPhone);
                $("#userLevel").val(data.userLevel);
                //$("#userMoney").val(data.userMoney);
            }
        });
    }
    //查看用户资料
    function examine(id) {
        //alert("1");
        $.ajax({
            url:"user?type=queryAll&id="+id,
            type:"get",
            dataType: "json",
            success:function(data){
                //alert("2");
                $("#userId").val(data.userId);
                $("#loginNames").val(data.loginName);//给名字赋值
                $("#userPhones").val(data.userPhone);//给电话赋值
                $("#userLevels").val(data.userLevel);//给用户等级赋值
                $("#userName").val(data.userName);//给名字赋值
                $("#userQQ").val(data.userQQ);//给QQ赋值
                $("#userEmail").val(data.userEmail);//给邮箱赋值
                $("#userScore").val(data.userScore);//给积分赋值
            }
        });
    }

</script>

<!-- Page-Level Scripts -->
<%--<script>
    $(document).ready(function () {
        $('.dataTables-example').dataTable();

        /* Init DataTables */
        var oTable = $('#editable').dataTable();

        /* Apply the jEditable handlers to the table */
        oTable.$('td').editable('../example_ajax.php', {
            "callback": function (sValue, y) {
                var aPos = oTable.fnGetPosition(this);
                oTable.fnUpdate(sValue, aPos[0], aPos[1]);
            },
            "submitdata": function (value, settings) {
                return {
                    "row_id": this.parentNode.getAttribute('id'),
                    "column": oTable.fnGetPosition(this)[2]
                };
            },

            "width": "90%",
            "height": "100%"
        });


    });

    function fnClickAddRow() {
        $('#editable').dataTable().fnAddData([
            "Custom row",
            "New row",
            "New row",
            "New row",
            "New row"]);

    }
</script>--%>

<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<!--统计代码，可删除-->

</body>
<script src="http://tajs.qq.com/stats?sId=9051096" type="text/javascript"></script>
<script>
    //查询用户
    $("#btn-success").click(function () {
        var id = $("[name='id']").val();
        var name = $("[name='name']").val();
        location.href='<%=path%>/user?type=queryByNameIdUser&id='+id+"&name="+name;
    });
    //导出excel表格
    /*$("#excel").click(function () {
        location.href="excel";
    });*/
    //冻结用户
    /*function freeze(v){
        var jQuery = $(v).parents("tr").find(".bh").text();
        location.href="user?type=freeze&userId="+jQuery;
    }*/
    //ajax冻结用户
    function freeze(id,v) {
        var freeze = $(v).text();
        //alert(freeze);
        $.ajax({
            url:"user?type=freeze&userId="+id+"&userStatus="+freeze,
            success:function(data){
                if (data=="true"){
                    if (freeze=="冻结该账户"){
                        $(v).parents(".gradeX").find("td:eq(8)").text("已冻结").css("color","dodgerblue");
                        $(v).parents(".gradeX").find("td:eq(9)>a:eq(2)").text("解冻该账户");
                    }
                    if (freeze=="解冻该账户"){
                        $(v).parents(".gradeX").find("td:eq(8)").text("正常").css("color","green");
                        $(v).parents(".gradeX").find("td:eq(9)>a:eq(2)").text("冻结该账户");
                    }
                }
            }
        })
    }
    //ajax解冻用户
    /*function thaw(id,v) {
        $.ajax({
            url:"user?type=thaw&userId="+id,
            success:function(data){
                if (data=="true"){
                    $(v).parents(".gradeX").find("td:eq(8)").text("正常").css("color","green");
                    $(v).parents(".gradeX").find("td:eq(9)>a:eq(2)").text("冻结该账户");
                }
            }
        })
    }*/
    //解冻用户
    /*function thaw(v) {
        var jQuery = $(v).parents("tr").find(".bh").text();
        location.href="user?type=thaw&userId="+jQuery;
    }*/
</script>
</html>
